package someclass;

public class Book {
    public static int bookId=0;
    private String bookName;
    private String bookType;
    private String bookAuthor;
    private String bootLocation;
    private int bookNumber;
    public Book(String name){
        this.bookName=name;
        this.bookAuthor=null;
        this.bootLocation=null;
        this.bookNumber=0;
        this.bookType=null;
    }
    public Book(String name,String type,String author,String location,int number){
        this.bookName = name;
        this.bookType = type;
        this.bookAuthor = author;
        this.bootLocation = location;
        this.bookNumber = number;
        this.bookId++;
    }

    public String getBookName(){
        return this.bookName;
    }

    public String getBookType(){
        return this.bookType;
    }

    public String getBookAuthor(){
        return this.bookAuthor;
    }

    public String getBootLocation(){
        return this.bootLocation;
    }
    public int getBookNumber(){
        return this.bookNumber;
    }
}
